<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich">
<ui:composition template="/template.xhtml">
	<ui:define name="head">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>Job Details</title>
	</ui:define>
	<ui:define name="content">
		<h1 style="text-align: center;">
			<h:outputText value="Job Details" />
		</h1>
		<hr />
		<h:form>
			<h:panelGrid columns="2" bgcolor="#eff5fa">
				<h:outputText value="Job Name:" />
				<h:inputText id="jobName"
					value="#{jobTimerAction.targetEntity.jobName}" />
				<h:outputText value="Start Date:" />
				<rich:calendar id="startDate"
					value="#{jobTimerAction.targetEntity.startDate}" />
				<h:outputText value="End Date:" />
				<rich:calendar id="endDate"
					value="#{jobTimerAction.targetEntity.endDate}" />
				<h:outputText value="Second:" />
				<h:inputText id="second"
					value="#{jobTimerAction.targetEntity.second}" />
				<h:outputText value="Minute:" />
				<h:inputText id="minute"
					value="#{jobTimerAction.targetEntity.minute}" />
				<h:outputText value="Hour:" />
				<h:inputText id="hour" value="#{jobTimerAction.targetEntity.hour}" />
				<h:outputText value="Day of Month:" />
				<h:inputText id="dayOfMonth"
					value="#{jobTimerAction.targetEntity.dayOfMonth}" />
				<h:outputText value="Month:" />
				<h:inputText id="month" value="#{jobTimerAction.targetEntity.month}" />
				<h:outputText value="Year:" />
				<h:inputText id="year" value="#{jobTimerAction.targetEntity.year}" />
				<h:outputText value="Day Of Week:" />
				<h:inputText id="dayOfWeek"
					value="#{jobTimerAction.targetEntity.dayOfWeek}" />
				<h:outputText value="Job Description:" />
				<h:inputTextarea cols="40" rows="4" id="description"
					value="#{jobTimerAction.targetEntity.description}" />
				<h:outputText value="Next Timeout:" />
				<h:inputText id="nextTimeout"
					value="#{jobTimerAction.targetEntity.nextTimeoutStr}"
					readonly="true" />
			</h:panelGrid>
			<h:commandButton id="update" value="Update"
				action="#{jobTimerAction.updateJobTimer}" />
			<h:commandButton id="delete" value="Delete"
				action="#{jobTimerAction.deleteJobTimer}" />
		</h:form>
		<rich:messages showDetail="true" />
	</ui:define>
</ui:composition>
</html>
